import cn.lsj.lrpc.proxy.RemoteMethod;
import cn.lsj.remote.service.UserService;

/**
 * @className: Application
 * @description: TODO 类描述
 * @author: liangshijie
 * @date: 2022/10/6
 **/
public class Application {

    public static void main(String[] args) {
//        new BootstrapServer(9998).run();
        UserService service = (UserService)RemoteMethod.bind(UserService.class);
        String ww = service.hel("我");
        System.out.println(ww);

    }
}
